Skip to content

Conversation

@SaoirseARM
Copy link
Collaborator

Summary

Adding a argument to aot_arm_compiler to allow for the ordering of the inputs.

  • Add capability to use cmd input order in the backend
  • Extend the test infrastructure to handle this

* Add capability to use cmd input order in the backend
* Extend the test infrastructure to handle this
@SaoirseARM SaoirseARM requested a review from freddan80 November 21, 2024 09:55
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 21, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7005

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit a863305 with merge base 43555d2 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 21, 2024
@SaoirseARM
Copy link
Collaborator Author

@pytorchbot label ciflow/trunk

@SaoirseARM
Copy link
Collaborator Author

@pytorchbot label 'partner: arm'

@pytorch-bot pytorch-bot bot added the partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm label Nov 21, 2024
@zingo
Copy link
Collaborator

zingo commented Nov 21, 2024

@pytorchbot label "topic: not user facing"

@freddan80 freddan80 merged commit 3f1b085 into pytorch:main Nov 25, 2024
99 of 103 checks passed
def vela_bin_pack_io(prefix, data, shape_order=None):
vela_input_shapes = data[prefix + "_shape"]

order = shape_order if shape_order else range(len(vela_input_shapes))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: order = shape_order or range(len(vela_input_shapes)) would be more idiomatic

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the review, and I agree.
I will fix this in another commit.

Thanks,
Saoirse

@SaoirseARM SaoirseARM deleted the toupstream/reorder_inputs branch November 26, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants